package cn.com.zh.app.userManager.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.zh.app.dao.UserInfoDao;
import cn.com.zh.app.userManager.dto.UserInfoDTO;
import cn.com.zh.app.userManager.service.UserInfoService;

@Service
public class UserInfoServiceImpl implements UserInfoService {

	@Autowired
	private UserInfoDao userInfoDao;
	
	
	public UserInfoDTO getUserInfo(UserInfoDTO userInfo) {
		return userInfoDao.getUserInfo(userInfo);
	}


	public UserInfoDTO registorUserInfo(UserInfoDTO dto) {
		return userInfoDao.registorUserInfo(dto);
	}



}
